Skip to content

Add github actions deployment workflow#4

Merged
ajeetchaulagain merged 10 commits intomainfrom
add-github-actions-deployment
Mar 29, 2026
Merged

Add github actions deployment workflow#4
ajeetchaulagain merged 10 commits intomainfrom
add-github-actions-deployment

Conversation

@ajeetchaulagain
Copy link
Copy Markdown
Owner

@ajeetchaulagain ajeetchaulagain commented Mar 29, 2026

This pull request introduces a GitHub Actions workflow for automated deployment, improves the Lambda layer build process, and updates TypeScript build configuration to exclude infrastructure code. The changes streamline CI/CD and ensure a cleaner build output.

CI/CD Automation:

  • Adds a new GitHub Actions workflow (.github/workflows/deploy.yml) to automate deployment of the CDK stack on pushes and pull requests to the main branch. This workflow checks out code, sets up Node.js, installs dependencies, builds the application and Lambda layer, configures AWS credentials, installs CDK dependencies, and deploys the CDK stack.

Build Process Improvements:

  • Updates the build:lambda-layer script in package.json to ensure the layer/nodejs directory exists before copying files, preventing potential build errors.

TypeScript Configuration:

  • Modifies tsconfig.build.json to explicitly set the rootDir and exclude the infra directory from the build, ensuring that infrastructure code is not included in the compiled output.

@ajeetchaulagain ajeetchaulagain marked this pull request as ready for review March 29, 2026 02:23
@ajeetchaulagain ajeetchaulagain merged commit 4e2d354 into main Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant